﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Agr.CQRS.Infrastructure.ServiceBus;

namespace Tests.Agr.CQRS.SB
{
    [TestClass]
    public class When_Event_Is_Published_On_ServiceBus_Without_Subscribers
    {
        [TestInitialize]
        public void TestInitialize()
        {
            var sb = new ServiceBus();
            sb.Publish<Object>(new Object());
        }

        [TestMethod]
        public void Then_Nothing_Happens()
        {
            //that is: no exception.
        }
    }
}
